Get staked tokens by wallet address
GET/staked_tokens/:accountAddress
Get staked tokens by wallet address
Request
Path Parameters
accountAddress anyrequired
Example: {{wallet_address}}
Query Parameters
apiKey stringrequired
Example: {{publicKey}}
Responses
- 200
- 403
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
totalStakedAmountUSD number
totalEarnedAmountUSD number
stakedTokens object[]
tokenAddress string
tokenLogoURI string
tokenName string
tokenSymbol string
unStakeTokenAddress string
stakedAmount number
stakedAmountUSD number
earnedAmountUSD number
stakingApr number
{
"totalStakedAmountUSD": 0,
"totalEarnedAmountUSD": 0,
"stakedTokens": [
{
"tokenAddress": "string",
"tokenLogoURI": "string",
"tokenName": "string",
"tokenSymbol": "string",
"unStakeTokenAddress": "string",
"stakedAmount": 0,
"stakedAmountUSD": 0,
"earnedAmountUSD": 0,
"stakingApr": 0
}
]
}
{
"totalStakedAmountUSD": 0.001034357555140009,
"totalEarnedAmountUSD": 0,
"stakedTokens": [
{
"tokenAddress": "0x34Ef2Cc892a88415e9f02b91BfA9c91fC0bE6bD4",
"tokenLogoURI": "https://raw.githubusercontent.com/voltfinance/token-logos/main/logos/0x34Ef2Cc892a88415e9f02b91BfA9c91fC0bE6bD4/logo.png",
"tokenName": "VoltToken",
"tokenSymbol": "VOLT",
"unStakeTokenAddress": "0x97a6e78c9208c21afaDa67e7E61d7ad27688eFd1",
"stakedAmount": 0.5113831095056965,
"stakedAmountUSD": 0.00009015088204551696,
"earnedAmountUSD": 0,
"stakingApr": 4.680838850990786
},
{
"tokenAddress": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"tokenLogoURI": "https://raw.githubusercontent.com/voltfinance/token-logos/main/logos/0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE/logo.png",
"tokenName": "Fuse",
"tokenSymbol": "FUSE",
"unStakeTokenAddress": "0xb1DD0B683d9A56525cC096fbF5eec6E60FE79871",
"stakedAmount": 0.010824735319451318,
"stakedAmountUSD": 0.000944206673094492,
"earnedAmountUSD": 0,
"stakingApr": 16.967527320525
}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
statusCode integer
errorMessage object
statusCode integer
message string
error string
path string
{
"statusCode": 403,
"errorMessage": {
"statusCode": 403,
"message": "Forbidden resource",
"error": "Forbidden"
},
"path": "/api/v0/staking/staked_tokens{{wallet_address}}apiKey={{publicKey}}"
}
Loading...